<template>
  <div class="coming-soon">
    <div class="container">
      <div class="coming-soon-content">
        <div class="icon-section">
          <i class="el-icon-time"></i>
        </div>
        <h1>功能即将上线</h1>
        <p>我们正在努力开发这个功能，敬请期待！</p>
        <div class="actions">
          <el-button type="primary" @click="goHome">返回首页</el-button>
          <el-button @click="goBack">返回上页</el-button>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'ComingSoon',
  
  methods: {
    goHome() {
      this.$router.push('/')
    },
    
    goBack() {
      this.$router.go(-1)
    }
  }
}
</script>

<style scoped>
.coming-soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
  max-width: 600px;
  padding: 0 20px;
}

.coming-soon-content {
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.icon-section {
  margin-bottom: 30px;
}

.icon-section i {
  font-size: 80px;
  color: #409EFF;
}

.coming-soon-content h1 {
  font-size: 32px;
  color: #333;
  margin-bottom: 20px;
  font-weight: bold;
}

.coming-soon-content p {
  font-size: 18px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
}

.actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .coming-soon-content {
    padding: 40px 20px;
  }
  
  .coming-soon-content h1 {
    font-size: 24px;
  }
  
  .coming-soon-content p {
    font-size: 16px;
  }
  
  .icon-section i {
    font-size: 60px;
  }
}
</style>